package com.ruoyi.system.domain.request.historyvideo;


import com.ruoyi.system.domain.request.PageParam;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@NoArgsConstructor
@AllArgsConstructor
@Data
public class HistoryVideoDeviceListParam extends PageParam {

    @NotNull(message = "通道号不能为空")
    @ApiModelProperty("通道号")
    private Integer channel;

    @NotNull(message = "设备号不能为空")
    @ApiModelProperty("设备号")
    private String dvo;

    @NotEmpty(message = "开始时间不能为空")
    @ApiModelProperty("开始时间")
    private String startTime;

    @NotEmpty(message = "结束时间不能为空")
    @ApiModelProperty("结束时间")
    private String endTime;

    @NotNull(message = "音视频资源类型不能为空")
    @ApiModelProperty("音视频资源类型(0音视频 1视频 2音频)")
    private Integer mediaType;

    @ApiModelProperty("码流类型(0所有码流 1主码流 2子码流)")
    private Integer codeType;

    @ApiModelProperty("存储器类型(0所有存储器 1主存储器 2灾备存储器)")
    private Integer storageType;
}
